/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ws;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "term")
// JAX-RS supports an automatic mapping from JAXB annotated class to XML 
public class TermHandler implements ServiceHandler {

    private String date;
    private String kind;
    private String description;
    private String patient_name;
        
    public String getDate() {
        return date;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getPatient_name() {
        return patient_name;
    }

    public void setPatient_name(String patient_name) {
        this.patient_name = patient_name;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getKind() {
        return kind;
    }

    public void setKind(String kind) {
        this.kind = kind;
    }
}